package cn.nawang.ebeim.server.constants;

/**
 * @ClassName: ApiConstants
 * @Description: TODO
 * @author fanyb
 * @date Aug 18, 2015 5:47:46 PM
 * @version v1.0
 */
public class ApiConstants {
  // 提交方法
  public static final String POST = "post";
  public static final String GET = "get";
  public static final String TOKEN="token=tokennawang";

  // 获取存储策略url
  public static final String URL_STORAGE_STRATEGY_BY_CUSTOMER_ID =
      Config.API_URL + "/ebeim-api/api/token/storage_strategyService/find/customer_id";
  // 根据存储云编号数组获取存储云列表url
  public static final String URL_STORAGE_CLOUD_BY_STORAGE_CLOUD_ID =
      Config.API_URL + "/ebeim-api/api/token/storage_cloud/find/storage_cloud_id";
  // 更新数据源
  public static final String URL_UPDATE_DATASOURCE =
      Config.API_URL + "/ebeim-api/api/token/datasource/update";
  // 新增StorageFileToDo对象
  public static final String URL_ADD_STORAGE_FILE_TO_DO =
      Config.API_URL + "/ebeim-api/api/token/storage_file_to_do/add";
  // 批量删除StorageFileToDo对象
  public static final String URL_DELETE_STORAGE_FILE_TO_DO =
      Config.API_URL + "/ebeim-api/api/token/storage_file_to_do/delete/storage_file_to_do_ids";
  // 查找未处理StorageFileToDo对象列表
  public static final String URL_FIND_UNTREATED_STORAGE_FILE_TO_DO =
      Config.API_URL + "/ebeim-api/api/token/storage_file_to_do/list/untreated";
  // 新增StorageVersionTreeToDo对象
  public static final String URL_ADD_STORAGE_VERSION_TREE_TO_DO =
      Config.API_URL + "/ebeim-api/api/token/storage_version_tree_to_do/add";
  // 新增StorageVersionTree对象
  public static final String URL_ADD_STORAGE_VERSION_TREE =
      Config.API_URL + "/ebeim-api/api/token/storage_version_tree/add";
  // 批量删除StorageVersionTreeToDo对象
  public static final String URL_DELETE_STORAGE_VERSION_TREE_TO_DO = Config.API_URL
      + "/ebeim-api/api/token/storage_version_tree_to_do/delete/storage_version_tree_to_do_ids";
  // 查找未处理StorageVersionTreeToDo对象列表
  public static final String URL_FIND_UNTREATED_STORAGE_VERSION_TREE_TO_DO =
      Config.API_URL + "/ebeim-api/api/token/storage_version_tree_to_do/list/untreated";
  // 新增StorageVersionTreeToDo对象
  public static final String URL_ADD_STORAGE_FILE =
      Config.API_URL + "/ebeim-api/api/token/storage_file/add";
  // 获取数据源对象
  public static final String URL_GET_DATASOURCE =
      Config.API_URL + "/ebeim-api/api/token/datasource/get/id";
  // 获取存储服务前置机列表
  public static final String URL_FIND_STORAGE_SERVICE =
      Config.API_URL + "/ebeim-api/api/token/storage_server/find/all";
  // 获取存储云对象
  public static final String URL_GET_STORAGE_CLOUD_BY_NAME =
      Config.API_URL + "/ebeim-api/api/token/storage_cloud/find/storage_cloud_name";
  // 获取云存储前端列表
  public static final String URL_SSERVER_LIST =
      Config.API_URL + "/ebeim-api/api/token/storage_server/find/storage_cloud_id";
  // 更新Storage_File_to_do
  public static final String URL_UPDATE_STORAGE_FILE_TO_DO =
      Config.API_URL + "/ebeim-api/api/token/storage_file_to_do/update";
  // 更新Storage_Version_Tree_to_do
  public static final String URL_UPDATE_STORAGE_VERSION_TREE_TO_DO =
      Config.API_URL + "/ebeim-api/api/token/storage_version_tree_to_do/update";
  // 判断云端的文件是否已经存在
  public static final String URL_IS_EXIST_STORAGE_FILE_TO_DO =
      Config.API_URL + "/ebeim-api/api/token/storage_file_to_do/is_exist";
  // 判断云端的版本树是否已经存在
  public static final String URL_IS_EXIST_STORAGE_VERSION_TREE_TO_DO =
      Config.API_URL + "/ebeim-api/api/token/storage_version_tree_to_do/is_exist";
  // 根据ds_id和Sign获取对象
  public static final String URL_FIND_STORAGE_FILE_TO_DO_BY_DSID_AND_SIGN =
      Config.API_URL + "/ebeim-api/api/token/storage_file_to_do/find/datasource_id_signature";
  // 根据ds_id和Vers获取对象
  public static final String URL_FIND_STORAGE_VERSION_TREE_TO_DO_BY_DSID_VERS =
      Config.API_URL + "/ebeim-api/api/token/storage_version_tree_to_do/find/datasource_id_version";
  // 获取用户所属云存储id
  public static final String URL_TB_STORAGE_STRATEGY_BY_CUSTOMER_ID =
      Config.API_URL + "/ebeim-api/api/token/storage_strategyService/findCloudId/customer_id";
  // 本机对应的storageCloudId是否在tb_storage_strategy表中存在
  public static final String URL_TB_STORAGE_STRATEGY_BY_STORAGE_CLOUD_ID =
      Config.API_URL + "/ebeim-api/api/token/tb_storage_strategy/storage_cloud_id";
}
